<template lang="">
  <div :id="aaa" :title="bbb">
    这是div
  </div>
  <button @click="alertStr">button</button>
</template>
<script>
export default{
  data(){
    return{
      aaa:'123213123',
      bbb:'6666'
    }
  },
  methods:{
    alertStr(){
      // alert(123213123)
      this.aaa='hahahah'
    }
  }
}
</script>
<style lang="">
</style>
